]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
12 years agocalendar: Don't rebuild the entire calendar widget when choosing a date
Jasper St. Pierre [Thu, 12 Dec 2013 01:05:21 +0000 (20:05 -0500)]
calendar: Don't rebuild the entire calendar widget when choosing a date

It's inefficient and wasteful. Combined with the JS GC not being great,
it leaks around 100 actors waiting to be GC'd. Yikes.

https://bugzilla.gnome.org/show_bug.cgi?id=720298

12 years agocalendar: Don't ever force reload
Jasper St. Pierre [Thu, 12 Dec 2013 00:58:42 +0000 (19:58 -0500)]
calendar: Don't ever force reload

https://bugzilla.gnome.org/show_bug.cgi?id=720298

12 years agojs: Use EVENT_PROPAGATE/EVENT_STOP constants in event handlers
Florian Müllner [Fri, 29 Nov 2013 18:17:34 +0000 (18:17 +0000)]
js: Use EVENT_PROPAGATE/EVENT_STOP constants in event handlers

Just as SOURCE_CONTINUE/SOURCE_REMOVE in source functions, these
constants increase code clarity over plain true/false.

https://bugzilla.gnome.org/show_bug.cgi?id=719567

12 years agojs: Use SOURCE_CONTINUE/SOURCE_REMOVE constants in source functions
Florian Müllner [Fri, 29 Nov 2013 00:45:39 +0000 (01:45 +0100)]
js: Use SOURCE_CONTINUE/SOURCE_REMOVE constants in source functions

With support for boolean constants in g-i, we can finally use the
more readable constants instead of true/false.

https://bugzilla.gnome.org/show_bug.cgi?id=719567

12 years agorunDialog: Explicitly set horizontal alignment
Florian Müllner [Mon, 18 Nov 2013 12:53:27 +0000 (13:53 +0100)]
runDialog: Explicitly set horizontal alignment

When set to fill, the label will always end up left-aligned, which
is only correct in LTR locales. Set the alignment explicitly to
work in both RTL and LTR locales.

https://bugzilla.gnome.org/show_bug.cgi?id=712579

12 years agoNetworkAgent: handle empty hints and VPN secrets correctly
Dan Williams [Wed, 4 Dec 2013 04:07:16 +0000 (22:07 -0600)]
NetworkAgent: handle empty hints and VPN secrets correctly

get_secrets_keyring_cb() contained an optimization (copied over from
nm-applet) that avoided a D-Bus round-trip when NetworkManager sent
secrets hints that were not satisified by the user.  This code did
not properly handle empty hints though, and proceeded to always
request new secrets whenever empty hints were sent.  Remove this
code entirely since the complexity is not worth it (per Jasper).

Second, get_secrets_keyring_cb() was mishandling VPN secrets which
were marked as "always ask".  Because the VPN secrets are not GObject
properties because they cannot be pre-defined, they are passed in
a hash table that is a GObject property marked 'secret'.  Unfortunately,
that means that the shell agent cannot determine their secret flags.
But since the VPN plugin auth dialogs have much better information
about what's required than the shell agent does, always ask the VPN
auth dialogs to handle the secrets requests after grabbing any that
already exist from the keyring.  This is also what nm-applet does.

https://bugzilla.gnome.org/show_bug.cgi?id=719815

12 years agobackground: Don't prematurely remove file monitors
Jasper St. Pierre [Thu, 12 Dec 2013 19:42:41 +0000 (14:42 -0500)]
background: Don't prematurely remove file monitors

We need to only remove file monitors when there's no other users
of the content...

12 years agost-scroll-view: Fix style
Jasper St. Pierre [Thu, 12 Dec 2013 01:35:21 +0000 (20:35 -0500)]
st-scroll-view: Fix style

12 years agocalendar: Fix style
Jasper St. Pierre [Thu, 12 Dec 2013 00:59:10 +0000 (19:59 -0500)]
calendar: Fix style

12 years agokeyring: Align more a srtings to the right side in RTL
Yosef Or Boczko [Wed, 11 Dec 2013 21:23:23 +0000 (23:23 +0200)]
keyring: Align more a srtings to the right side in RTL

It is missed in the previous patch.

Signed-off-by: Yosef Or Boczko <yoseforb@gmail.com>
12 years agopolkitAgent: Align more a string to the right side in RTL
Yosef Or Boczko [Wed, 11 Dec 2013 21:14:08 +0000 (23:14 +0200)]
polkitAgent: Align more a string to the right side in RTL

Signed-off-by: Yosef Or Boczko <yoseforb@gmail.com>
12 years agoendSessionDialog: Align some strings to the right in RTL
Yosef Or Boczko [Wed, 11 Dec 2013 20:42:01 +0000 (22:42 +0200)]
endSessionDialog: Align some strings to the right in RTL

https://bugzilla.gnome.org/show_bug.cgi?id=712600

12 years agokeyring: Align some srtings to right in RTL
Yosef Or Boczko [Wed, 11 Dec 2013 20:40:18 +0000 (22:40 +0200)]
keyring: Align some srtings to right in RTL

https://bugzilla.gnome.org/show_bug.cgi?id=712594

12 years agopolkitAgent: Explicitly set horizontal alignment
Yosef Or Boczko [Wed, 11 Dec 2013 20:38:58 +0000 (22:38 +0200)]
polkitAgent: Explicitly set horizontal alignment

When set to fill, the label will always end up left-aligned, which
is only correct in LTR locales. Set the alignment explicitly to
work in both RTL and LTR locales.

https://bugzilla.gnome.org/show_bug.cgi?id=712596

12 years agounlockDialog: Explicitly set horizontal alignment
Yosef Or Boczko [Wed, 11 Dec 2013 20:36:49 +0000 (22:36 +0200)]
unlockDialog: Explicitly set horizontal alignment

When set to fill, the label will always end up left-aligned, which
is only correct in LTR locales. Set the alignment explicitly to
work in both RTL and LTR locales.

https://bugzilla.gnome.org/show_bug.cgi?id=712638

12 years agoauthPrompt: Explicitly set horizontal alignment
Yosef Or Boczko [Wed, 11 Dec 2013 20:36:15 +0000 (22:36 +0200)]
authPrompt: Explicitly set horizontal alignment

When set to fill, the label will always end up left-aligned, which
is only correct in LTR locales. Set the alignment explicitly to
work in both RTL and LTR locales.

https://bugzilla.gnome.org/show_bug.cgi?id=712638

12 years agouserWidget: Fix the padding in RTL
Yosef Or Boczko [Wed, 11 Dec 2013 20:35:44 +0000 (22:35 +0200)]
userWidget: Fix the padding in RTL

https://bugzilla.gnome.org/show_bug.cgi?id=712638

12 years agoUpdate Arabic translation
Khaled Hosny [Wed, 11 Dec 2013 04:53:36 +0000 (06:53 +0200)]
Update Arabic translation

12 years agoremoteSearch: Let remote search providers not provide an icon
Debarshi Ray [Fri, 6 Dec 2013 11:56:43 +0000 (12:56 +0100)]
remoteSearch: Let remote search providers not provide an icon

The documentation indicates that they are optional, so let us make the
code behave accordingly.

https://bugzilla.gnome.org/show_bug.cgi?id=719965

12 years agoFinnish translation update
Jiri Grönroos [Mon, 9 Dec 2013 06:08:04 +0000 (08:08 +0200)]
Finnish translation update

12 years agosessionMode: Add back external session modes
Florian Müllner [Fri, 6 Dec 2013 20:31:46 +0000 (21:31 +0100)]
sessionMode: Add back external session modes

Since commit da4238ec681c7ca, external session modes are no longer
loaded during start-up; bring them back.

https://bugzilla.gnome.org/show_bug.cgi?id=720017

12 years agosessionMode: Fix listModes()
Florian Müllner [Fri, 6 Dec 2013 20:29:37 +0000 (21:29 +0100)]
sessionMode: Fix listModes()

Commit da4238ec681c7ca just broke that function completely by
calling array methods on objects and other funny stuff. Fix it.

https://bugzilla.gnome.org/show_bug.cgi?id=720017

12 years agosessionMode: Rename _getModes()
Florian Müllner [Fri, 6 Dec 2013 20:28:23 +0000 (21:28 +0100)]
sessionMode: Rename _getModes()

Since commit da4238ec681c7ca, the function doesn't return anything,
so rename it to _loadModes() to reflect this.

https://bugzilla.gnome.org/show_bug.cgi?id=720017

12 years agosessionMode: Fix left-over variable in _loadMode()
Florian Müllner [Fri, 6 Dec 2013 20:25:15 +0000 (21:25 +0100)]
sessionMode: Fix left-over variable in _loadMode()

Commit da4238ec681c7ca dropped a variable, but didn't replace all
consumers.

https://bugzilla.gnome.org/show_bug.cgi?id=720017

12 years agoshell-app: Track all application windows
Florian Müllner [Wed, 4 Dec 2013 16:26:01 +0000 (17:26 +0100)]
shell-app: Track all application windows

Filtering out "non-interesting" windows beforehand as we currently do
means that we may get properties that should be based on all windows,
like the last time the application was used, wrong.
Just track all windows and filter out non-interesting windows manually
in the one place we actually care about the difference.

https://bugzilla.gnome.org/show_bug.cgi?id=719824

12 years ago[l10n]Updated Turkish translation
Emin Tufan Çetin [Sat, 7 Dec 2013 06:20:27 +0000 (08:20 +0200)]
[l10n]Updated Turkish translation

12 years ago[l10n] Updated Estonian translation
Mattias Põldaru [Thu, 5 Dec 2013 10:45:57 +0000 (12:45 +0200)]
[l10n] Updated Estonian translation

12 years agomessageTray: Fix style
Jasper St. Pierre [Thu, 5 Dec 2013 06:32:20 +0000 (01:32 -0500)]
messageTray: Fix style

12 years agomessageTray: Fix style
Jasper St. Pierre [Thu, 5 Dec 2013 01:51:10 +0000 (20:51 -0500)]
messageTray: Fix style

We're missing a semi here

12 years agoSort js-resources.gresource.xml
Jasper St. Pierre [Thu, 5 Dec 2013 01:44:22 +0000 (20:44 -0500)]
Sort js-resources.gresource.xml

12 years agomessageTray: Remove transient sources
Jasper St. Pierre [Fri, 11 Oct 2013 17:13:36 +0000 (13:13 -0400)]
messageTray: Remove transient sources

As far as I can tell, the only behavior change of a transient source
is that they auto-destroy after viewing their summary box pointer.
Since all transient sources are only associated with transient
notifications, it seems that we can never get to their summary box
pointer in the first place! Remove support for this.

https://bugzilla.gnome.org/show_bug.cgi?id=710115

12 years agoviewSelector: Give the active page key focus when it is shown
Jasper St. Pierre [Mon, 4 Nov 2013 22:23:28 +0000 (17:23 -0500)]
viewSelector: Give the active page key focus when it is shown

Rather than implement special focus policies like only allowing keynav
when pressing down, simply give the active page key focus when entering
the overview.

This may break stuff, as it's somewhat of a tricky patch to get right.
Testing this one would be super appreciated.

https://bugzilla.gnome.org/show_bug.cgi?id=644306

12 years agoworkspace: Grab the key focus when hovering over a window
Jasper St. Pierre [Mon, 4 Nov 2013 22:25:18 +0000 (17:25 -0500)]
workspace: Grab the key focus when hovering over a window

This is simply an experiment. I'm not sure I like the result, but it was
worth trying out regardless.

https://bugzilla.gnome.org/show_bug.cgi?id=644306

12 years agoworkspace: Implement key navigation on the workspaces page
Jasper St. Pierre [Mon, 4 Nov 2013 22:23:44 +0000 (17:23 -0500)]
workspace: Implement key navigation on the workspaces page

Simply use St's existing key navigation system by making all the window
clones StWidgets, and making the WorkspacesView a focus group.

Since the workspace view is effectively "fake", we need to add a focus
delegator so that when key focus is assigned to the fake workspaces page,
we can keynav inside it properly.

https://bugzilla.gnome.org/show_bug.cgi?id=644306

12 years agost-widget: Sort actors by distance from the focused actor
Jasper St. Pierre [Mon, 4 Nov 2013 22:12:22 +0000 (17:12 -0500)]
st-widget: Sort actors by distance from the focused actor

Sorting actors by the distance in the axis of movement first and against
the axis otherwise means that if we have a situation like:

  A      F
   B

where "F" is the focused actor, and it slightly overlaps with B vertically,
then we'll choose "B" to go left, rather than "A", which is most likely
what the user intended.

This is especially apparent in the overview where slight window size
differences mean we might not get an exact grid shape.

https://bugzilla.gnome.org/show_bug.cgi?id=644306

12 years agomessageTray: Only attempt to grab the summary box pointer after showing it
Jasper St. Pierre [Wed, 4 Dec 2013 00:21:08 +0000 (19:21 -0500)]
messageTray: Only attempt to grab the summary box pointer after showing it

For mysterious reasons I'm not sure of myself, navigate_focus will only focus
mapped actors. So, make sure the widget is showing before navigating to it.

https://bugzilla.gnome.org/show_bug.cgi?id=709853

12 years agomessageTray: Reword a boolean condition
Jasper St. Pierre [Wed, 4 Dec 2013 16:22:48 +0000 (11:22 -0500)]
messageTray: Reword a boolean condition

Just so it's a bit easier to understand...

12 years agomessageTray: Fix style
Jasper St. Pierre [Wed, 4 Dec 2013 16:22:25 +0000 (11:22 -0500)]
messageTray: Fix style

12 years agobackground: Don't silently fizzle out when removing bad content from the cache
Jasper St. Pierre [Tue, 3 Dec 2013 22:54:02 +0000 (17:54 -0500)]
background: Don't silently fizzle out when removing bad content from the cache

If the background is already removed, or we're trying to remove bad content,
this is probably a bug in content accounting, so let us crash so we can fix
the bugs.

https://bugzilla.gnome.org/show_bug.cgi?id=719803

12 years agobackground: Add copied content from pending image loads to the cache
Jasper St. Pierre [Tue, 3 Dec 2013 23:09:23 +0000 (18:09 -0500)]
background: Add copied content from pending image loads to the cache

https://bugzilla.gnome.org/show_bug.cgi?id=719803

12 years agobackground: Clarify the intent of the code
Jasper St. Pierre [Tue, 3 Dec 2013 23:08:42 +0000 (18:08 -0500)]
background: Clarify the intent of the code

Stomping on local variables and trying to keep loop state isn't
too fun. Just use a new variable here so we aren't too confused
with what we're doing.

https://bugzilla.gnome.org/show_bug.cgi?id=719803

12 years agobackground: Simplify animation code
Jasper St. Pierre [Tue, 3 Dec 2013 22:25:57 +0000 (17:25 -0500)]
background: Simplify animation code

https://bugzilla.gnome.org/show_bug.cgi?id=719803

12 years agobackground: Remove unused variable
Jasper St. Pierre [Tue, 3 Dec 2013 22:27:28 +0000 (17:27 -0500)]
background: Remove unused variable

https://bugzilla.gnome.org/show_bug.cgi?id=719803

12 years agobackground: Remove the system noise content when not in use
Jasper St. Pierre [Tue, 3 Dec 2013 22:05:06 +0000 (17:05 -0500)]
background: Remove the system noise content when not in use

https://bugzilla.gnome.org/show_bug.cgi?id=719803

12 years agobackground: Don't wait for gdk-pixbuf to fail before loading animations
Jasper St. Pierre [Tue, 3 Dec 2013 20:56:12 +0000 (15:56 -0500)]
background: Don't wait for gdk-pixbuf to fail before loading animations

We don't have any better way of determining whether something is a slideshow
animation, so discriminate on the .xml filename instead of waiting for
gdk-pixbuf to determine whether it can load a file or not.

https://bugzilla.gnome.org/show_bug.cgi?id=719803

12 years agobackground: Remove more bogus checks
Jasper St. Pierre [Tue, 3 Dec 2013 20:45:53 +0000 (15:45 -0500)]
background: Remove more bogus checks

The content in these arrays can never be null...

https://bugzilla.gnome.org/show_bug.cgi?id=719803

12 years agonetworkAgent: add support for EAP-FAST password requests
Dan Williams [Tue, 3 Dec 2013 23:33:20 +0000 (17:33 -0600)]
networkAgent: add support for EAP-FAST password requests

EAP-FAST is a top-level EAP method like TTLS, PEAP, etc.

https://bugzilla.gnome.org/show_bug.cgi?id=719813

12 years agobackground: Fix the check for spanning backgrounds
Jasper St. Pierre [Tue, 3 Dec 2013 20:41:42 +0000 (15:41 -0500)]
background: Fix the check for spanning backgrounds

this._monitorIndex does not exist, and neither does
MetaBackground.monitor_index...

https://bugzilla.gnome.org/show_bug.cgi?id=719803

12 years agobluetooth: Remove unused import
Jasper St. Pierre [Tue, 3 Dec 2013 23:36:34 +0000 (18:36 -0500)]
bluetooth: Remove unused import

12 years agoUpdated Brazilian Portuguese translation
Rafael Ferreira [Tue, 3 Dec 2013 01:16:59 +0000 (23:16 -0200)]
Updated Brazilian Portuguese translation

12 years agoUserWidget: replace vfunc_destroy override with a signal connection
Giovanni Campagna [Mon, 2 Dec 2013 22:50:45 +0000 (23:50 +0100)]
UserWidget: replace vfunc_destroy override with a signal connection

The destroy vfunc might be called during object finalization, and
we can't call any JS from a GC finalizer, so we use a signal
connection instead, as that is removed by GObject the first time
the object is disposed.

https://bugzilla.gnome.org/show_bug.cgi?id=719730

12 years agologinDialog: Implement cancel()
Florian Müllner [Tue, 26 Nov 2013 19:52:24 +0000 (20:52 +0100)]
loginDialog: Implement cancel()

The screen shield expects a cancel() method on the unlockDialog
implementation, but LoginDialog does not provide it currently.

https://bugzilla.gnome.org/show_bug.cgi?id=719378

12 years agobluetooth: Remove GnomeBluetoothApplet hacks
Bastien Nocera [Tue, 26 Nov 2013 14:08:18 +0000 (15:08 +0100)]
bluetooth: Remove GnomeBluetoothApplet hacks

https://bugzilla.gnome.org/show_bug.cgi?id=719341

12 years agobluetooth: Use BluetoothClient to detect connected devices
Bastien Nocera [Tue, 26 Nov 2013 13:46:13 +0000 (14:46 +0100)]
bluetooth: Use BluetoothClient to detect connected devices

Instead of the GnomeBluetoothApplet helper.

https://bugzilla.gnome.org/show_bug.cgi?id=719341

12 years agobluetooth: Use g-s-d to turn off Bluetooth
Bastien Nocera [Tue, 26 Nov 2013 13:06:41 +0000 (14:06 +0100)]
bluetooth: Use g-s-d to turn off Bluetooth

https://bugzilla.gnome.org/show_bug.cgi?id=719341

12 years agobluetooth: Remove pairing agent
Bastien Nocera [Tue, 26 Nov 2013 10:11:20 +0000 (11:11 +0100)]
bluetooth: Remove pairing agent

We'll only have it in the Bluetooth settings panel.

https://bugzilla.gnome.org/show_bug.cgi?id=719341

12 years agoauthPrompt: propagate gdm "reset" signal after user switching
Ray Strode [Tue, 26 Nov 2013 03:30:53 +0000 (22:30 -0500)]
authPrompt: propagate gdm "reset" signal after user switching

After a user types in their password at the login screen, one
of two things can happen

1) a new session is started
2) an existing session is switched to

In the latter case, GDM sends a reset signal to the login screen,
so it knows to go back to the user list and wait to be summoned
again.

Unfortunately, all reset signals are ignored after verification
success.  The reason is because the reset handler was copied from
the unlock dialog as part of a deduplication effort in commit
7e7295f259febf34c89659a9bcb05f9924fa1976 and the unlock dialog
handler at the time also emitted a "failed" signal on reset
(which wouldn't make sense to emit after success).

These days "failed" is handled in a different way.

This commit changes the code to let reset signals through after
successful verification.

https://bugzilla.gnome.org/show_bug.cgi?id=710456

12 years agoTypo fixed in Dutch translation
Reinout van Schouwen [Fri, 22 Nov 2013 21:44:13 +0000 (22:44 +0100)]
Typo fixed in Dutch translation

12 years agoUpdated Dutch translation by Erwin Poeze
Reinout van Schouwen [Fri, 22 Nov 2013 21:41:18 +0000 (22:41 +0100)]
Updated Dutch translation by Erwin Poeze

12 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Thu, 21 Nov 2013 20:24:50 +0000 (21:24 +0100)]
Updated Norwegian bokmål translation

12 years agobuild: require gjs 1.39.0
Tim Lunn [Thu, 21 Nov 2013 19:58:33 +0000 (06:58 +1100)]
build: require gjs 1.39.0

This is required for the gresources loader

12 years agoviewSelector: Don't show pages until they need to be visible
Jasper St. Pierre [Wed, 20 Nov 2013 17:06:14 +0000 (12:06 -0500)]
viewSelector: Don't show pages until they need to be visible

AppDisplay queues a deferred work to load frequently used apps when the
apps page is loaded. Unfortunately, when the overview is first opened,
all the pages start out visible and then immediately get hidden, so the
deferred work runs immediately after the first overview opening, whether
the user was going to view their frequent apps or not.

Start all pages off as hidden, and rearrange the code so that pages are
only shown when they really need to be.

https://bugzilla.gnome.org/show_bug.cgi?id=712753

12 years agoosdWindow: add setMonitor() to allow changing the monitor
Carlos Garnacho [Mon, 18 Nov 2013 12:48:19 +0000 (13:48 +0100)]
osdWindow: add setMonitor() to allow changing the monitor

This is also exposed in the ShowOSD DBus method, the "monitor"
parameter may contain an integer to indicate the monitor number.
If the value is not provided or <0 is used, the monitor is shown
on the primary monitor as usually.

This way, the OSD can be used to notify upon events that solely
apply to one monitor, like tablet mapping as discussed in
https://bugzilla.gnome.org/show_bug.cgi?id=710373.

https://bugzilla.gnome.org/show_bug.cgi?id=712664

12 years agoboxpointer: Don't hide when we're already hidden
Jasper St. Pierre [Wed, 20 Nov 2013 03:39:39 +0000 (22:39 -0500)]
boxpointer: Don't hide when we're already hidden

You would think we would already do something like this, but apparently
lots of code was calling hide() without checking if the box pointer was
already visible, causing it to queue a full tween. The biggest win was
with ibusCandidatePopup.js, which called hide() on every DBus message.

This increases the performance for me to enter the overview by a tiny
bit. The remaining time is spent updating the frequent apps / all apps
display.

https://bugzilla.gnome.org/show_bug.cgi?id=712727

12 years agolayout: Adjust the opening animation to be less intense
Jasper St. Pierre [Wed, 20 Nov 2013 01:35:30 +0000 (20:35 -0500)]
layout: Adjust the opening animation to be less intense

https://bugzilla.gnome.org/show_bug.cgi?id=712362

12 years agouserWidget: Chain up in destroy()
Jasper St. Pierre [Mon, 18 Nov 2013 23:08:17 +0000 (18:08 -0500)]
userWidget: Chain up in destroy()

12 years agoshell-app: Remove unused method
Jasper St. Pierre [Tue, 19 Nov 2013 23:11:22 +0000 (18:11 -0500)]
shell-app: Remove unused method

12 years agoappDisplay: Remove unused signal
Florian Müllner [Fri, 8 Nov 2013 03:48:40 +0000 (04:48 +0100)]
appDisplay: Remove unused signal

The signal was last used in the pre-3.0 days, so we can stop dragging
it along and just remove it.

12 years agomessageTray: Prevent reentrancy issues in _updateState
Jasper St. Pierre [Fri, 15 Nov 2013 15:34:04 +0000 (10:34 -0500)]
messageTray: Prevent reentrancy issues in _updateState

The methods we call in _updateState may not be reentrant, so make
sure that we never get into a situation where _updateState, through
some crazy chain of events, calls itself.

https://bugzilla.gnome.org/show_bug.cgi?id=711694

12 years agoentry: Make sure we chain up in enter/leave handlers
Jasper St. Pierre [Fri, 15 Nov 2013 16:08:29 +0000 (11:08 -0500)]
entry: Make sure we chain up in enter/leave handlers

To ensure that the focus tracking executes correctly.

https://bugzilla.gnome.org/show_bug.cgi?id=706749

12 years agohighlight session menu button on key focus
Sebastien Lafargue [Sun, 20 Oct 2013 10:59:23 +0000 (12:59 +0200)]
highlight session menu button on key focus

https://bugzilla.gnome.org/show_bug.cgi?id=710539

12 years agoentry: Remove old documentation about the hover style class
Jasper St. Pierre [Fri, 15 Nov 2013 16:01:28 +0000 (11:01 -0500)]
entry: Remove old documentation about the hover style class

12 years agotheme: Clean up
Jasper St. Pierre [Fri, 15 Nov 2013 16:14:32 +0000 (11:14 -0500)]
theme: Clean up

Remove some unused CSS

12 years agomessageTray: Fix style
Jasper St. Pierre [Fri, 15 Nov 2013 15:32:41 +0000 (10:32 -0500)]
messageTray: Fix style

12 years agoappDisplay: Use the desktop file index for app searching
Jasper St. Pierre [Sun, 3 Nov 2013 00:13:42 +0000 (20:13 -0400)]
appDisplay: Use the desktop file index for app searching

Rather than scanning all apps for searching, use Ryan's new desktop
file index and the glib support APIs for app searching instead of our
own system.

https://bugzilla.gnome.org/show_bug.cgi?id=711631

12 years agolayout: Fix several issues with the background management code
Jasper St. Pierre [Thu, 7 Nov 2013 22:14:47 +0000 (17:14 -0500)]
layout: Fix several issues with the background management code

If monitor-changed fires at startup, it will destroy all of the
backgrounds, but since this._isStartup is true, won't recreate any
of them. Additionally, since _bgManagers is indexed by monitor index,
if the primary index is not 0, it could become a sparse array (e.g.
[undefined, undefined, primaryBackground]), and our for loop will
crash trying to access properties of undefined.

Fix both of these issues by always creating background managers for
every monitor, hiding them on startup but only showing them after
the startup animation is complete.

One thing we need to watch out for is that while LayoutManager is
constructing, Main.uiGroup / Main.layoutManager will be undefined,
so addBackgroundMenu will fail. Fix this by passing down the uiGroup
to the background menu code.

https://bugzilla.gnome.org/show_bug.cgi?id=709313

12 years agooverview: Fix stacking of background and desktop icons
Florian Müllner [Thu, 14 Nov 2013 15:34:59 +0000 (15:34 +0000)]
overview: Fix stacking of background and desktop icons

If desktop icons are enabled and not covered by maximized windows,
we will fade them in/out during overview transitions. However when
moving background handling into mutter/gnome-shell, we ended up with
the overview background on top of the DESKTOP window clone, hiding
the fade transition.
Fix the stack order to bring the effect back.

https://bugzilla.gnome.org/show_bug.cgi?id=707671

12 years agoBump version to 3.11.2
Florian Müllner [Wed, 13 Nov 2013 20:05:44 +0000 (21:05 +0100)]
Bump version to 3.11.2

Update NEWS.

12 years agobuild: Add built js-resources to CLEANFILES
Florian Müllner [Wed, 13 Nov 2013 20:12:14 +0000 (21:12 +0100)]
build: Add built js-resources to CLEANFILES

12 years agoshellDBus: Fix error message returned from Eval
Jasper St. Pierre [Wed, 13 Nov 2013 18:20:08 +0000 (13:20 -0500)]
shellDBus: Fix error message returned from Eval

Annoyingly, `message` on errors are non-enumerable, which mean that
JSON.stringify on the error will produce `{}`. Just cast it to a string
for now.

12 years agoUpdated Tamil Translations
Shantha kumar [Mon, 11 Nov 2013 09:15:06 +0000 (14:45 +0530)]
Updated Tamil Translations

13 years agoUpdate Chinese simplified translation
eternalhui [Sun, 10 Nov 2013 06:19:51 +0000 (14:19 +0800)]
Update Chinese simplified translation

13 years agoMore invalid source fixes
Florian Müllner [Fri, 8 Nov 2013 03:48:51 +0000 (04:48 +0100)]
More invalid source fixes

https://bugzilla.gnome.org/show_bug.cgi?id=711732

13 years agodash: Make sure we clear the timeout IDs for the label tooltip
Jasper St. Pierre [Sat, 9 Nov 2013 16:11:01 +0000 (11:11 -0500)]
dash: Make sure we clear the timeout IDs for the label tooltip

https://bugzilla.gnome.org/show_bug.cgi?id=711732

13 years agotweener: Remove the onAnimationStart/onAnimationComplete callbacks
Jasper St. Pierre [Sat, 9 Nov 2013 16:00:39 +0000 (11:00 -0500)]
tweener: Remove the onAnimationStart/onAnimationComplete callbacks

Our gnome-shell tweener integration has had hooks to determine when
the tweens have started and completed... except that they had a bug
in them. When a tween completed, it queued an idle handler to run
the callback in. If no tweens were running when the idle was removing,
it reset the tween state that contained the idle handler ID. It also
returned false, meaning that the source would always get removed.

If the actor had a tween in-flight when the idle was fired, it wouldn't
clean up after itself. While this is also a simple bug fix, remove the
callback so we don't queue unnecessary, unused idles.

https://bugzilla.gnome.org/show_bug.cgi?id=711732

13 years agoapp-system: Add back StartupWMClass matching
Jasper St. Pierre [Thu, 26 Sep 2013 21:19:21 +0000 (17:19 -0400)]
app-system: Add back StartupWMClass matching

While unfortunate that we still have to scan all apps with get_all(),
support for this feature will be short-lived, so hopefully we can drop
it in the future as new apps adapt to the desktop file / app ID
recommendations.

For now, simply scan all desktop IDs.

https://bugzilla.gnome.org/show_bug.cgi?id=711631

13 years agoapp-system: Put back support for the installed-changed signal
Jasper St. Pierre [Thu, 26 Sep 2013 21:11:45 +0000 (17:11 -0400)]
app-system: Put back support for the installed-changed signal

Use the new GAppInfoMonitor that Ryan added to glib to know when the
set of apps has changed.

https://bugzilla.gnome.org/show_bug.cgi?id=711631

13 years agoShellApp: Connect applications to systemd journal (if available)
Colin Walters [Thu, 7 Nov 2013 17:34:57 +0000 (12:34 -0500)]
ShellApp: Connect applications to systemd journal (if available)

Systemd-for-the-user-session would also do this, but that's a deeply
invasive change that I may not actually get to this cycle.  This
change is tiny and non-invasive, but provides an important benefit:
You can actually reliably tell *which* applications are logging which
messages (assuming they're launched by the shell).

This actually complements a recent change in DBus:
See https://bugs.freedesktop.org/show_bug.cgi?id=68559
which does a similar thing for bus activated apps.

https://bugzilla.gnome.org/show_bug.cgi?id=711626

13 years agopopupMenu: Fix removing the active menu from PopupMenuManager
Florian Müllner [Wed, 6 Nov 2013 22:40:22 +0000 (23:40 +0100)]
popupMenu: Fix removing the active menu from PopupMenuManager

Commit b42af9aa991eba5 changed the parameter list of _closeMenu()
to account for changes in the GrabHelper ungrab mechanism, but
didn't update other callers.

https://bugzilla.gnome.org/show_bug.cgi?id=709806

13 years agodnd: Don't queue an idle handler if we already have one
Florian Müllner [Wed, 6 Nov 2013 17:22:47 +0000 (18:22 +0100)]
dnd: Don't queue an idle handler if we already have one

Removing an existing source before scheduling a new one is not wrong,
but slightly less effective than doing nothing and relying on the
previously created source to do the job.

https://bugzilla.gnome.org/show_bug.cgi?id=711555

13 years agodnd: Don't try to remove an invalid idle source
Florian Müllner [Wed, 6 Nov 2013 09:40:29 +0000 (10:40 +0100)]
dnd: Don't try to remove an invalid idle source

As the handler returns false, the corresponding source is removed
automatically and its id invalidated. Reset the id to 0 to reflect
this, otherwise newer versions of GLib will print a warning when
we later try to remove it explicitly.

https://bugzilla.gnome.org/show_bug.cgi?id=711555

13 years agotrivial: Fix the signedness of boolean fields
Jasper St. Pierre [Mon, 4 Nov 2013 21:04:20 +0000 (16:04 -0500)]
trivial: Fix the signedness of boolean fields

The standard old kludge with gboolean being signed, not unsigned.
Encountered while printing the values for debugging.

https://bugzilla.gnome.org/show_bug.cgi?id=644306

13 years agotrivial: st-widget: Remove super old 'stylable' property
Jasper St. Pierre [Mon, 4 Nov 2013 21:03:16 +0000 (16:03 -0500)]
trivial: st-widget: Remove super old 'stylable' property

I don't think we ever used this, even way back in 3.0...

https://bugzilla.gnome.org/show_bug.cgi?id=644306

13 years agoUpdated German translation
Benjamin Steinwender [Mon, 4 Nov 2013 20:05:26 +0000 (21:05 +0100)]
Updated German translation

13 years agosearch: Only do a subsearch if the previous results have returned from DBus
Jasper St. Pierre [Mon, 4 Nov 2013 19:47:13 +0000 (14:47 -0500)]
search: Only do a subsearch if the previous results have returned from DBus

There's a potential race condition in the search code: if we have an
outstanding search call to a provider for search "A", and if before it comes
back we do a subsearch for "AB", we won't have any results to pass along.

Previously, we used an empty list when storing the provider results, so we
effectively told the remote search app to filter through this empty list for
any search results that meet the new query, meaning we showed the user 0
results for the provider in this case.

Now that we don't store an empty list, but instead store `undefined`, this race
raises a warning. Solve it by doing an initial search query in this case
instead.

The search code isn't too smart about chained subsearches: now, if we hit this
race while already on a subsearch, we'll do an initial search for the subsearch
query instead, but that is much better than showing the user nothing. This
could be fixed in the future for a performance improvement.

Reviewed-by: Florian Müllner <fmuellner@gnome.org>
13 years agomessageTray: Use a regular tween when expanding the notification
Jasper St. Pierre [Mon, 4 Nov 2013 19:25:29 +0000 (14:25 -0500)]
messageTray: Use a regular tween when expanding the notification

When a notification becomes expanded, it's either already shown,
or in the process of being shown. Don't set the state to SHOWING
again, which confuses our state machine.

13 years agomessageTray: Simplify code
Jasper St. Pierre [Mon, 4 Nov 2013 19:16:28 +0000 (14:16 -0500)]
messageTray: Simplify code

If notificationRemoved, then mustClose is true, so we don't need to
double-check for this.

13 years agoSynchronize shell startup
Jasper St. Pierre [Mon, 4 Nov 2013 15:07:44 +0000 (10:07 -0500)]
Synchronize shell startup

The asynchronous nature of extension loading, session loading, and more,
makes the code racy as to what is initialized first, and hard to debug.
Additionally, since gjs is single-threaded, the only code we're running
in a thread anyway is readdir, which is going to be I/O bound, so the
code here is actually likely to be faster.

Drop this in favor of some good old fashioned synchronous loading.

13 years agonotificationDaemon: Only store policies for "real" apps
Jasper St. Pierre [Mon, 4 Nov 2013 16:45:22 +0000 (11:45 -0500)]
notificationDaemon: Only store policies for "real" apps

Fake, window-backed apps should not have a policy for them.

13 years agoscreenShield: Fix details in notifications
Florian Müllner [Mon, 4 Nov 2013 14:55:40 +0000 (15:55 +0100)]
screenShield: Fix details in notifications

bannerBodyMarkup is a boolean flag to indicate that bannerBodyText
contains markup, not the markup text itself.

https://bugzilla.gnome.org/show_bug.cgi?id=711416